home *** CD-ROM | disk | FTP | other *** search
-
-
- On Thu, 12 Jan 1995, Mike Sikorsky wrote:
-
- >
- >
- > Okay my brain is starting to bleed because I can't make up my
- > mind on a consistent interface for MARP so I thought I would ask what
- > you blokes thought would be best....
- >
- >
- > 1. Do you like how with Amos you have to 'Set' which object
- > you want the operations to be applied to ?
- >
- > Example:
- >
- > Screen 1 : Circle 10,10,10 : Screen 0
- >
- > 2. Or would rather wnat to specify the object along with the
- > operation ?
- >
- > Example:
- >
- > Circle 1,10,10,10
- >
- > I realise that their are advantages and disadvantages to both and
- > this is what is causing my brain problems!
- >
- > Because i want MARP to be consistent it has to be either 1 or 2...
- >
- > This mess is applicable to every bank type Amos has... because in
- > MARP you can always have multiple banks... so this goes for icons,
- > samples,mods,amims,... etc.
- >
- > For screens I prefer method '1' but for Icons I prefer method '2'..
- > so I can't make up my mind.... I need some input...
- >
- >
- > Here is how Icons would work under method 1:
- >
- >
- > M_LoadIconBank(0,"myicons.abk");
- >
- > M_SetIconBank(0);
- >
- > printf("Number Icons in bank: %d\n",M_IconBankLength());
- >
- > M_SetIcon(10);
- >
- > printf("Icon 10 is %d pixels wide.\n",M_IconWidth());
- >
- > M_PasteIcon(x,y); /* ie. paste Icon 10 */
- >
- >
- > Under Method 2:
- >
- > M_LoadIconBank(0,"myicons.abk");
- >
- > printf("Number Icons in bank: %d\n",M_IconBankLength(0));
- >
- > printf("Icon 10 is %d pixels wide\n",M_IconWidth(0,10));
- >
- > M_PasteIcon(0,10,x,y); /* Paste Icon 10 from IconBank 0 */
- >
-
- I prefer version 2 personally.
-
- Richard
-
-
-